package com.iplay.service.cashback;

import java.util.Optional;

import com.iplay.dto.cashback.CashbackStrategyCustomizationDTO;
import com.iplay.dto.cashback.CashbackStrategyDTO;
import com.iplay.vo.cashback.CashbackStrategyCustomizationVO;
import com.iplay.vo.cashback.CashbackStrategyVO;

public interface CashbackService {
	
	boolean setDefaultCashbackStrategy(CashbackStrategyVO cashbackStrategy);
	
	boolean customizeCashbackStrategy(CashbackStrategyCustomizationVO cashbackCustomization);
	
	Optional<CashbackStrategyCustomizationDTO> findCashbackStrategyByOrderId(int orderId);
	
	Optional<CashbackStrategyDTO> findGlobalCashbackStrategy();
}
